// components/ranking-item/rangking-item.js
Component({
  properties: {
    itemData: {
      type: Object,
      value: {}
    },
    key: {
      type: String,
      value: "newRanking"
    }
  },

  data: {

  },

  methods: {
    onRankingItemTap(){
      const key = this.properties.key
      wx.navigateTo({
        url: `/pages/song-detail/song-detail?type=ranking&key=${key}`,
      })
    }
  }
})
